package com.chinasoft.movies.service.impl;

import com.chinasoft.movies.mapper.Top5CompanyMapper;
import com.chinasoft.movies.pojo.Top5Company;
import com.chinasoft.movies.service.Top5CompanyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class Top5CompanyServiceImpl implements Top5CompanyService {

    @Autowired
    private Top5CompanyMapper top5CompanyMapper;

    @Override
    public List<Top5Company> queryTop10Company(){
        return top5CompanyMapper.queryTop10Company();
    }
}
